import Layout from '@/layout'

const equityManageRouter = {
  path: '/equityManage',
  component: Layout,
  name: 'equityManage',
  meta: {
    title: '策略管理',
    icon: 'money'
  },
  children: [{
      path: 'commission',
      component: () => import('@/views/EquityManage/commission.vue'),
      name: 'commission',
      meta: {
        title: '分润管理',
        noCache: true
      }
    },
    {
      path: "powerManage",
      name: 'powerManage',
      component: () => import('@/views/EquityManage/powerManage/index.vue'),
      meta: {
        title: '权益管理',
        noCache: true
      },
      children: [{
          path: 'actBonus',
          component: () => import('@/views/EquityManage/actBonus.vue'),
          name: 'actBonus',
          meta: {
            title: '激活奖励',
            noCache: true
          }
        },
        {
          path: 'promoteBonus',
          component: () => import('@/views/EquityManage/promoteBonus.vue'),
          name: 'promoteBonus',
          meta: {
            title: '达标奖励',
            noCache: true
          }
        },
        {
          path: 'qualiBonus',
          component: () => import('@/views/EquityManage/qualiBonus.vue'),
          name: 'qualiBonus',
          meta: {
            title: '推广奖励',
            noCache: true
          }
        },
        {
          path: 'promoAllow',
          component: () => import('@/views/EquityManage/promoAllow.vue'),
          name: 'promoAllow',
          meta: {
            title: '推广津贴',
            noCache: true
          }
        },
        {
          path: 'promoteAllow',
          component: () => import('@/views/EquityManage/promoteAllow.vue'),
          name: 'promoteAllow',
          meta: {
            title: '达标津贴',
            noCache: true
          }
        },

        {
          path: 'sellAllow',
          component: () => import('@/views/EquityManage/sellAllow.vue'),
          name: 'sellAllow',
          meta: {
            title: '激活津贴',
            noCache: true
          }
        },
        {
          path: 'qualiAllow',
          component: () => import('@/views/EquityManage/qualiAllow.vue'),
          name: 'qualiAllow',
          meta: {
            title: '管理津贴',
            noCache: true
          }
        },
      ]
    },



  ]
}
export default equityManageRouter
